package com.xxyf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxyf.pojo.Username;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author 小小怡飞
 * @Date 2022/8/24 3:29
 * @Version JDK 8
 */
@Mapper
public interface UsernameMapper {

    Username loging(@Param("account") String account,@Param("password") String password);
    int reg(@Param("account") String account,@Param("password") String password);
    String check(@Param("account") String account);

}
